import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-wangmi-t',
  templateUrl: './wangmi-t.page.html',
  styleUrls: ['./wangmi-t.page.scss'],
})
export class WangmiTPage implements OnInit {

  public telephone:any;
  public code:any;

  constructor(public router:Router) { }

  ngOnInit() {
  }

  next() {
    // if (this.telephone == "") {
    //     alert("请输入电话");
    // }else if (this.code == "") {
    //   alert("请输入验证码");
    // } else {
        // let userinf: string = '用户名：' + this.username + '电话：' + this.telephone;
        // alert(userinf);
        this.router.navigate(['/gaimi1/'])
        // console.log('我发生了跳转');
    // }
  }


}
